package com.example.telesys.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class AdminExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public AdminExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andAdminnameIsNull() {
            addCriterion("adminname is null");
            return (Criteria) this;
        }

        public Criteria andAdminnameIsNotNull() {
            addCriterion("adminname is not null");
            return (Criteria) this;
        }

        public Criteria andAdminnameEqualTo(String value) {
            addCriterion("adminname =", value, "adminname");
            return (Criteria) this;
        }

        public Criteria andAdminnameNotEqualTo(String value) {
            addCriterion("adminname <>", value, "adminname");
            return (Criteria) this;
        }

        public Criteria andAdminnameGreaterThan(String value) {
            addCriterion("adminname >", value, "adminname");
            return (Criteria) this;
        }

        public Criteria andAdminnameGreaterThanOrEqualTo(String value) {
            addCriterion("adminname >=", value, "adminname");
            return (Criteria) this;
        }

        public Criteria andAdminnameLessThan(String value) {
            addCriterion("adminname <", value, "adminname");
            return (Criteria) this;
        }

        public Criteria andAdminnameLessThanOrEqualTo(String value) {
            addCriterion("adminname <=", value, "adminname");
            return (Criteria) this;
        }

        public Criteria andAdminnameLike(String value) {
            addCriterion("adminname like", value, "adminname");
            return (Criteria) this;
        }

        public Criteria andAdminnameNotLike(String value) {
            addCriterion("adminname not like", value, "adminname");
            return (Criteria) this;
        }

        public Criteria andAdminnameIn(List<String> values) {
            addCriterion("adminname in", values, "adminname");
            return (Criteria) this;
        }

        public Criteria andAdminnameNotIn(List<String> values) {
            addCriterion("adminname not in", values, "adminname");
            return (Criteria) this;
        }

        public Criteria andAdminnameBetween(String value1, String value2) {
            addCriterion("adminname between", value1, value2, "adminname");
            return (Criteria) this;
        }

        public Criteria andAdminnameNotBetween(String value1, String value2) {
            addCriterion("adminname not between", value1, value2, "adminname");
            return (Criteria) this;
        }

        public Criteria andAdminphoneIsNull() {
            addCriterion("adminphone is null");
            return (Criteria) this;
        }

        public Criteria andAdminphoneIsNotNull() {
            addCriterion("adminphone is not null");
            return (Criteria) this;
        }

        public Criteria andAdminphoneEqualTo(Integer value) {
            addCriterion("adminphone =", value, "adminphone");
            return (Criteria) this;
        }

        public Criteria andAdminphoneNotEqualTo(Integer value) {
            addCriterion("adminphone <>", value, "adminphone");
            return (Criteria) this;
        }

        public Criteria andAdminphoneGreaterThan(Integer value) {
            addCriterion("adminphone >", value, "adminphone");
            return (Criteria) this;
        }

        public Criteria andAdminphoneGreaterThanOrEqualTo(Integer value) {
            addCriterion("adminphone >=", value, "adminphone");
            return (Criteria) this;
        }

        public Criteria andAdminphoneLessThan(Integer value) {
            addCriterion("adminphone <", value, "adminphone");
            return (Criteria) this;
        }

        public Criteria andAdminphoneLessThanOrEqualTo(Integer value) {
            addCriterion("adminphone <=", value, "adminphone");
            return (Criteria) this;
        }

        public Criteria andAdminphoneIn(List<Integer> values) {
            addCriterion("adminphone in", values, "adminphone");
            return (Criteria) this;
        }

        public Criteria andAdminphoneNotIn(List<Integer> values) {
            addCriterion("adminphone not in", values, "adminphone");
            return (Criteria) this;
        }

        public Criteria andAdminphoneBetween(Integer value1, Integer value2) {
            addCriterion("adminphone between", value1, value2, "adminphone");
            return (Criteria) this;
        }

        public Criteria andAdminphoneNotBetween(Integer value1, Integer value2) {
            addCriterion("adminphone not between", value1, value2, "adminphone");
            return (Criteria) this;
        }

        public Criteria andAdmintypeIsNull() {
            addCriterion("admintype is null");
            return (Criteria) this;
        }

        public Criteria andAdmintypeIsNotNull() {
            addCriterion("admintype is not null");
            return (Criteria) this;
        }

        public Criteria andAdmintypeEqualTo(Integer value) {
            addCriterion("admintype =", value, "admintype");
            return (Criteria) this;
        }

        public Criteria andAdmintypeNotEqualTo(Integer value) {
            addCriterion("admintype <>", value, "admintype");
            return (Criteria) this;
        }

        public Criteria andAdmintypeGreaterThan(Integer value) {
            addCriterion("admintype >", value, "admintype");
            return (Criteria) this;
        }

        public Criteria andAdmintypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("admintype >=", value, "admintype");
            return (Criteria) this;
        }

        public Criteria andAdmintypeLessThan(Integer value) {
            addCriterion("admintype <", value, "admintype");
            return (Criteria) this;
        }

        public Criteria andAdmintypeLessThanOrEqualTo(Integer value) {
            addCriterion("admintype <=", value, "admintype");
            return (Criteria) this;
        }

        public Criteria andAdmintypeIn(List<Integer> values) {
            addCriterion("admintype in", values, "admintype");
            return (Criteria) this;
        }

        public Criteria andAdmintypeNotIn(List<Integer> values) {
            addCriterion("admintype not in", values, "admintype");
            return (Criteria) this;
        }

        public Criteria andAdmintypeBetween(Integer value1, Integer value2) {
            addCriterion("admintype between", value1, value2, "admintype");
            return (Criteria) this;
        }

        public Criteria andAdmintypeNotBetween(Integer value1, Integer value2) {
            addCriterion("admintype not between", value1, value2, "admintype");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNull() {
            addCriterion("username is null");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNotNull() {
            addCriterion("username is not null");
            return (Criteria) this;
        }

        public Criteria andUsernameEqualTo(String value) {
            addCriterion("username =", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotEqualTo(String value) {
            addCriterion("username <>", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThan(String value) {
            addCriterion("username >", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThanOrEqualTo(String value) {
            addCriterion("username >=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThan(String value) {
            addCriterion("username <", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThanOrEqualTo(String value) {
            addCriterion("username <=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLike(String value) {
            addCriterion("username like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotLike(String value) {
            addCriterion("username not like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameIn(List<String> values) {
            addCriterion("username in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotIn(List<String> values) {
            addCriterion("username not in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameBetween(String value1, String value2) {
            addCriterion("username between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotBetween(String value1, String value2) {
            addCriterion("username not between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andCustomernameIsNull() {
            addCriterion("customername is null");
            return (Criteria) this;
        }

        public Criteria andCustomernameIsNotNull() {
            addCriterion("customername is not null");
            return (Criteria) this;
        }

        public Criteria andCustomernameEqualTo(String value) {
            addCriterion("customername =", value, "customername");
            return (Criteria) this;
        }

        public Criteria andCustomernameNotEqualTo(String value) {
            addCriterion("customername <>", value, "customername");
            return (Criteria) this;
        }

        public Criteria andCustomernameGreaterThan(String value) {
            addCriterion("customername >", value, "customername");
            return (Criteria) this;
        }

        public Criteria andCustomernameGreaterThanOrEqualTo(String value) {
            addCriterion("customername >=", value, "customername");
            return (Criteria) this;
        }

        public Criteria andCustomernameLessThan(String value) {
            addCriterion("customername <", value, "customername");
            return (Criteria) this;
        }

        public Criteria andCustomernameLessThanOrEqualTo(String value) {
            addCriterion("customername <=", value, "customername");
            return (Criteria) this;
        }

        public Criteria andCustomernameLike(String value) {
            addCriterion("customername like", value, "customername");
            return (Criteria) this;
        }

        public Criteria andCustomernameNotLike(String value) {
            addCriterion("customername not like", value, "customername");
            return (Criteria) this;
        }

        public Criteria andCustomernameIn(List<String> values) {
            addCriterion("customername in", values, "customername");
            return (Criteria) this;
        }

        public Criteria andCustomernameNotIn(List<String> values) {
            addCriterion("customername not in", values, "customername");
            return (Criteria) this;
        }

        public Criteria andCustomernameBetween(String value1, String value2) {
            addCriterion("customername between", value1, value2, "customername");
            return (Criteria) this;
        }

        public Criteria andCustomernameNotBetween(String value1, String value2) {
            addCriterion("customername not between", value1, value2, "customername");
            return (Criteria) this;
        }

        public Criteria andFinishedcheckIsNull() {
            addCriterion("finishedcheck is null");
            return (Criteria) this;
        }

        public Criteria andFinishedcheckIsNotNull() {
            addCriterion("finishedcheck is not null");
            return (Criteria) this;
        }

        public Criteria andFinishedcheckEqualTo(Integer value) {
            addCriterion("finishedcheck =", value, "finishedcheck");
            return (Criteria) this;
        }

        public Criteria andFinishedcheckNotEqualTo(Integer value) {
            addCriterion("finishedcheck <>", value, "finishedcheck");
            return (Criteria) this;
        }

        public Criteria andFinishedcheckGreaterThan(Integer value) {
            addCriterion("finishedcheck >", value, "finishedcheck");
            return (Criteria) this;
        }

        public Criteria andFinishedcheckGreaterThanOrEqualTo(Integer value) {
            addCriterion("finishedcheck >=", value, "finishedcheck");
            return (Criteria) this;
        }

        public Criteria andFinishedcheckLessThan(Integer value) {
            addCriterion("finishedcheck <", value, "finishedcheck");
            return (Criteria) this;
        }

        public Criteria andFinishedcheckLessThanOrEqualTo(Integer value) {
            addCriterion("finishedcheck <=", value, "finishedcheck");
            return (Criteria) this;
        }

        public Criteria andFinishedcheckIn(List<Integer> values) {
            addCriterion("finishedcheck in", values, "finishedcheck");
            return (Criteria) this;
        }

        public Criteria andFinishedcheckNotIn(List<Integer> values) {
            addCriterion("finishedcheck not in", values, "finishedcheck");
            return (Criteria) this;
        }

        public Criteria andFinishedcheckBetween(Integer value1, Integer value2) {
            addCriterion("finishedcheck between", value1, value2, "finishedcheck");
            return (Criteria) this;
        }

        public Criteria andFinishedcheckNotBetween(Integer value1, Integer value2) {
            addCriterion("finishedcheck not between", value1, value2, "finishedcheck");
            return (Criteria) this;
        }

        public Criteria andGeneratedateIsNull() {
            addCriterion("generatedate is null");
            return (Criteria) this;
        }

        public Criteria andGeneratedateIsNotNull() {
            addCriterion("generatedate is not null");
            return (Criteria) this;
        }

        public Criteria andGeneratedateEqualTo(Date value) {
            addCriterion("generatedate =", value, "generatedate");
            return (Criteria) this;
        }

        public Criteria andGeneratedateNotEqualTo(Date value) {
            addCriterion("generatedate <>", value, "generatedate");
            return (Criteria) this;
        }

        public Criteria andGeneratedateGreaterThan(Date value) {
            addCriterion("generatedate >", value, "generatedate");
            return (Criteria) this;
        }

        public Criteria andGeneratedateGreaterThanOrEqualTo(Date value) {
            addCriterion("generatedate >=", value, "generatedate");
            return (Criteria) this;
        }

        public Criteria andGeneratedateLessThan(Date value) {
            addCriterion("generatedate <", value, "generatedate");
            return (Criteria) this;
        }

        public Criteria andGeneratedateLessThanOrEqualTo(Date value) {
            addCriterion("generatedate <=", value, "generatedate");
            return (Criteria) this;
        }

        public Criteria andGeneratedateIn(List<Date> values) {
            addCriterion("generatedate in", values, "generatedate");
            return (Criteria) this;
        }

        public Criteria andGeneratedateNotIn(List<Date> values) {
            addCriterion("generatedate not in", values, "generatedate");
            return (Criteria) this;
        }

        public Criteria andGeneratedateBetween(Date value1, Date value2) {
            addCriterion("generatedate between", value1, value2, "generatedate");
            return (Criteria) this;
        }

        public Criteria andGeneratedateNotBetween(Date value1, Date value2) {
            addCriterion("generatedate not between", value1, value2, "generatedate");
            return (Criteria) this;
        }

        public Criteria andOrderidIsNull() {
            addCriterion("orderid is null");
            return (Criteria) this;
        }

        public Criteria andOrderidIsNotNull() {
            addCriterion("orderid is not null");
            return (Criteria) this;
        }

        public Criteria andOrderidEqualTo(String value) {
            addCriterion("orderid =", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidNotEqualTo(String value) {
            addCriterion("orderid <>", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidGreaterThan(String value) {
            addCriterion("orderid >", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidGreaterThanOrEqualTo(String value) {
            addCriterion("orderid >=", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidLessThan(String value) {
            addCriterion("orderid <", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidLessThanOrEqualTo(String value) {
            addCriterion("orderid <=", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidLike(String value) {
            addCriterion("orderid like", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidNotLike(String value) {
            addCriterion("orderid not like", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidIn(List<String> values) {
            addCriterion("orderid in", values, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidNotIn(List<String> values) {
            addCriterion("orderid not in", values, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidBetween(String value1, String value2) {
            addCriterion("orderid between", value1, value2, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidNotBetween(String value1, String value2) {
            addCriterion("orderid not between", value1, value2, "orderid");
            return (Criteria) this;
        }

        public Criteria andPricecheckIsNull() {
            addCriterion("pricecheck is null");
            return (Criteria) this;
        }

        public Criteria andPricecheckIsNotNull() {
            addCriterion("pricecheck is not null");
            return (Criteria) this;
        }

        public Criteria andPricecheckEqualTo(Integer value) {
            addCriterion("pricecheck =", value, "pricecheck");
            return (Criteria) this;
        }

        public Criteria andPricecheckNotEqualTo(Integer value) {
            addCriterion("pricecheck <>", value, "pricecheck");
            return (Criteria) this;
        }

        public Criteria andPricecheckGreaterThan(Integer value) {
            addCriterion("pricecheck >", value, "pricecheck");
            return (Criteria) this;
        }

        public Criteria andPricecheckGreaterThanOrEqualTo(Integer value) {
            addCriterion("pricecheck >=", value, "pricecheck");
            return (Criteria) this;
        }

        public Criteria andPricecheckLessThan(Integer value) {
            addCriterion("pricecheck <", value, "pricecheck");
            return (Criteria) this;
        }

        public Criteria andPricecheckLessThanOrEqualTo(Integer value) {
            addCriterion("pricecheck <=", value, "pricecheck");
            return (Criteria) this;
        }

        public Criteria andPricecheckIn(List<Integer> values) {
            addCriterion("pricecheck in", values, "pricecheck");
            return (Criteria) this;
        }

        public Criteria andPricecheckNotIn(List<Integer> values) {
            addCriterion("pricecheck not in", values, "pricecheck");
            return (Criteria) this;
        }

        public Criteria andPricecheckBetween(Integer value1, Integer value2) {
            addCriterion("pricecheck between", value1, value2, "pricecheck");
            return (Criteria) this;
        }

        public Criteria andPricecheckNotBetween(Integer value1, Integer value2) {
            addCriterion("pricecheck not between", value1, value2, "pricecheck");
            return (Criteria) this;
        }

        public Criteria andProductidIsNull() {
            addCriterion("productid is null");
            return (Criteria) this;
        }

        public Criteria andProductidIsNotNull() {
            addCriterion("productid is not null");
            return (Criteria) this;
        }

        public Criteria andProductidEqualTo(String value) {
            addCriterion("productid =", value, "productid");
            return (Criteria) this;
        }

        public Criteria andProductidNotEqualTo(String value) {
            addCriterion("productid <>", value, "productid");
            return (Criteria) this;
        }

        public Criteria andProductidGreaterThan(String value) {
            addCriterion("productid >", value, "productid");
            return (Criteria) this;
        }

        public Criteria andProductidGreaterThanOrEqualTo(String value) {
            addCriterion("productid >=", value, "productid");
            return (Criteria) this;
        }

        public Criteria andProductidLessThan(String value) {
            addCriterion("productid <", value, "productid");
            return (Criteria) this;
        }

        public Criteria andProductidLessThanOrEqualTo(String value) {
            addCriterion("productid <=", value, "productid");
            return (Criteria) this;
        }

        public Criteria andProductidLike(String value) {
            addCriterion("productid like", value, "productid");
            return (Criteria) this;
        }

        public Criteria andProductidNotLike(String value) {
            addCriterion("productid not like", value, "productid");
            return (Criteria) this;
        }

        public Criteria andProductidIn(List<String> values) {
            addCriterion("productid in", values, "productid");
            return (Criteria) this;
        }

        public Criteria andProductidNotIn(List<String> values) {
            addCriterion("productid not in", values, "productid");
            return (Criteria) this;
        }

        public Criteria andProductidBetween(String value1, String value2) {
            addCriterion("productid between", value1, value2, "productid");
            return (Criteria) this;
        }

        public Criteria andProductidNotBetween(String value1, String value2) {
            addCriterion("productid not between", value1, value2, "productid");
            return (Criteria) this;
        }

        public Criteria andProductnumIsNull() {
            addCriterion("productnum is null");
            return (Criteria) this;
        }

        public Criteria andProductnumIsNotNull() {
            addCriterion("productnum is not null");
            return (Criteria) this;
        }

        public Criteria andProductnumEqualTo(Integer value) {
            addCriterion("productnum =", value, "productnum");
            return (Criteria) this;
        }

        public Criteria andProductnumNotEqualTo(Integer value) {
            addCriterion("productnum <>", value, "productnum");
            return (Criteria) this;
        }

        public Criteria andProductnumGreaterThan(Integer value) {
            addCriterion("productnum >", value, "productnum");
            return (Criteria) this;
        }

        public Criteria andProductnumGreaterThanOrEqualTo(Integer value) {
            addCriterion("productnum >=", value, "productnum");
            return (Criteria) this;
        }

        public Criteria andProductnumLessThan(Integer value) {
            addCriterion("productnum <", value, "productnum");
            return (Criteria) this;
        }

        public Criteria andProductnumLessThanOrEqualTo(Integer value) {
            addCriterion("productnum <=", value, "productnum");
            return (Criteria) this;
        }

        public Criteria andProductnumIn(List<Integer> values) {
            addCriterion("productnum in", values, "productnum");
            return (Criteria) this;
        }

        public Criteria andProductnumNotIn(List<Integer> values) {
            addCriterion("productnum not in", values, "productnum");
            return (Criteria) this;
        }

        public Criteria andProductnumBetween(Integer value1, Integer value2) {
            addCriterion("productnum between", value1, value2, "productnum");
            return (Criteria) this;
        }

        public Criteria andProductnumNotBetween(Integer value1, Integer value2) {
            addCriterion("productnum not between", value1, value2, "productnum");
            return (Criteria) this;
        }

        public Criteria andProductpriceIsNull() {
            addCriterion("productprice is null");
            return (Criteria) this;
        }

        public Criteria andProductpriceIsNotNull() {
            addCriterion("productprice is not null");
            return (Criteria) this;
        }

        public Criteria andProductpriceEqualTo(Integer value) {
            addCriterion("productprice =", value, "productprice");
            return (Criteria) this;
        }

        public Criteria andProductpriceNotEqualTo(Integer value) {
            addCriterion("productprice <>", value, "productprice");
            return (Criteria) this;
        }

        public Criteria andProductpriceGreaterThan(Integer value) {
            addCriterion("productprice >", value, "productprice");
            return (Criteria) this;
        }

        public Criteria andProductpriceGreaterThanOrEqualTo(Integer value) {
            addCriterion("productprice >=", value, "productprice");
            return (Criteria) this;
        }

        public Criteria andProductpriceLessThan(Integer value) {
            addCriterion("productprice <", value, "productprice");
            return (Criteria) this;
        }

        public Criteria andProductpriceLessThanOrEqualTo(Integer value) {
            addCriterion("productprice <=", value, "productprice");
            return (Criteria) this;
        }

        public Criteria andProductpriceIn(List<Integer> values) {
            addCriterion("productprice in", values, "productprice");
            return (Criteria) this;
        }

        public Criteria andProductpriceNotIn(List<Integer> values) {
            addCriterion("productprice not in", values, "productprice");
            return (Criteria) this;
        }

        public Criteria andProductpriceBetween(Integer value1, Integer value2) {
            addCriterion("productprice between", value1, value2, "productprice");
            return (Criteria) this;
        }

        public Criteria andProductpriceNotBetween(Integer value1, Integer value2) {
            addCriterion("productprice not between", value1, value2, "productprice");
            return (Criteria) this;
        }

        public Criteria andRiskcheckIsNull() {
            addCriterion("riskcheck is null");
            return (Criteria) this;
        }

        public Criteria andRiskcheckIsNotNull() {
            addCriterion("riskcheck is not null");
            return (Criteria) this;
        }

        public Criteria andRiskcheckEqualTo(Integer value) {
            addCriterion("riskcheck =", value, "riskcheck");
            return (Criteria) this;
        }

        public Criteria andRiskcheckNotEqualTo(Integer value) {
            addCriterion("riskcheck <>", value, "riskcheck");
            return (Criteria) this;
        }

        public Criteria andRiskcheckGreaterThan(Integer value) {
            addCriterion("riskcheck >", value, "riskcheck");
            return (Criteria) this;
        }

        public Criteria andRiskcheckGreaterThanOrEqualTo(Integer value) {
            addCriterion("riskcheck >=", value, "riskcheck");
            return (Criteria) this;
        }

        public Criteria andRiskcheckLessThan(Integer value) {
            addCriterion("riskcheck <", value, "riskcheck");
            return (Criteria) this;
        }

        public Criteria andRiskcheckLessThanOrEqualTo(Integer value) {
            addCriterion("riskcheck <=", value, "riskcheck");
            return (Criteria) this;
        }

        public Criteria andRiskcheckIn(List<Integer> values) {
            addCriterion("riskcheck in", values, "riskcheck");
            return (Criteria) this;
        }

        public Criteria andRiskcheckNotIn(List<Integer> values) {
            addCriterion("riskcheck not in", values, "riskcheck");
            return (Criteria) this;
        }

        public Criteria andRiskcheckBetween(Integer value1, Integer value2) {
            addCriterion("riskcheck between", value1, value2, "riskcheck");
            return (Criteria) this;
        }

        public Criteria andRiskcheckNotBetween(Integer value1, Integer value2) {
            addCriterion("riskcheck not between", value1, value2, "riskcheck");
            return (Criteria) this;
        }

        public Criteria andSuperiorcheckIsNull() {
            addCriterion("superiorcheck is null");
            return (Criteria) this;
        }

        public Criteria andSuperiorcheckIsNotNull() {
            addCriterion("superiorcheck is not null");
            return (Criteria) this;
        }

        public Criteria andSuperiorcheckEqualTo(Integer value) {
            addCriterion("superiorcheck =", value, "superiorcheck");
            return (Criteria) this;
        }

        public Criteria andSuperiorcheckNotEqualTo(Integer value) {
            addCriterion("superiorcheck <>", value, "superiorcheck");
            return (Criteria) this;
        }

        public Criteria andSuperiorcheckGreaterThan(Integer value) {
            addCriterion("superiorcheck >", value, "superiorcheck");
            return (Criteria) this;
        }

        public Criteria andSuperiorcheckGreaterThanOrEqualTo(Integer value) {
            addCriterion("superiorcheck >=", value, "superiorcheck");
            return (Criteria) this;
        }

        public Criteria andSuperiorcheckLessThan(Integer value) {
            addCriterion("superiorcheck <", value, "superiorcheck");
            return (Criteria) this;
        }

        public Criteria andSuperiorcheckLessThanOrEqualTo(Integer value) {
            addCriterion("superiorcheck <=", value, "superiorcheck");
            return (Criteria) this;
        }

        public Criteria andSuperiorcheckIn(List<Integer> values) {
            addCriterion("superiorcheck in", values, "superiorcheck");
            return (Criteria) this;
        }

        public Criteria andSuperiorcheckNotIn(List<Integer> values) {
            addCriterion("superiorcheck not in", values, "superiorcheck");
            return (Criteria) this;
        }

        public Criteria andSuperiorcheckBetween(Integer value1, Integer value2) {
            addCriterion("superiorcheck between", value1, value2, "superiorcheck");
            return (Criteria) this;
        }

        public Criteria andSuperiorcheckNotBetween(Integer value1, Integer value2) {
            addCriterion("superiorcheck not between", value1, value2, "superiorcheck");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}